package com.base.app.domain.bo;
import com.base.common.core.domain.BaseEntity;
import com.base.common.core.validate.AddGroup;
import com.base.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;


/**
 * 应用密码卡业务对象 t_app_crypt_card
 *
 * @author base
 * @date 2023-10-17
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TAppCryptCardBo extends BaseEntity {

    /**
     * 应用编码
     */
    @NotBlank(message = "应用编码不能为空", groups = { EditGroup.class })
    private String autoId;

    /**
     * 应用名称
     */
    @NotBlank(message = "应用名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String appId;

    /**
     * 密钥编码(当前在用的
     */
    @NotBlank(message = "密钥编码(当前在用的不能为空", groups = { AddGroup.class, EditGroup.class })
    private String cardCode;

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String operator;

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;


}
